// Copyright 2023 Palantir Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0.

@import "../../common/variables-extended";

$card-padding: $pt-spacing * 5 !default;
$card-padding-compact: $pt-spacing * 4 !default;

$card-background-color: $white !default;
$dark-card-background-color: $pt-dark-app-elevated-background-color !default;

$card-list-border-width: 1px !default;

// CardList Card item min-height is calculated as height of a button + vertical padding.
// We need to add an extra pixel to account for the bottom border.
$card-list-item-padding-vertical: $pt-spacing * 2 !default;
// prettier-ignore
$card-list-item-min-height: $pt-button-height + ($card-list-item-padding-vertical * 2) + $card-list-border-width !default;
$card-list-item-padding: $card-list-item-padding-vertical $card-padding !default;

$card-list-item-padding-vertical-compact: $pt-spacing * 2 !default;
// prettier-ignore
$card-list-item-min-height-compact: $pt-button-height + ($card-list-item-padding-vertical-compact * 2) + $card-list-border-width !default;
$card-list-item-padding-compact: $card-list-item-padding-vertical-compact $card-padding-compact !default;
